package com.ssm.model;

public class Cart {

    private String book_id;
    private int quantity;
    private double price;

    private String name;

    public Cart() {

    }

    public Cart( String book_id, int quantity, double price, String name) {

        this.book_id = book_id;
        this.quantity = quantity;
        this.price = price;
        this.name = name;
    }



    public String getBook_id() {
        return book_id;
    }

    public void setBook_id(String book_id) {
        this.book_id = book_id;
    }

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
